import {ResType} from "st-common-req"
import {get} from '@request'

const API_PRE = '/rsa'

/**
 * 获取 RSA 通用公钥
 */
export const getRsaCommonPubKey = async (): Promise<ResType> => {
  return await get(API_PRE + '/common/pub')
}
